import request from "@/router/axios";

export const getStaticParamList = ( params) => {
  return request({
    url: "/api/project-manager/sys/static_param/list",
    method: "get",
    params: { ...params },
  });
};

// export const addStaticParam = (row) => {
//   return request({
//     url: "/api/project-manager/sys/static_param/save",
//     method: "post",
//     data: row,
//   });
// };

export const updateStaticParam = (row) => {
  return request({
    url: "/api/project-manager/sys/static_param/update",
    method: "put",
    data: row,
  });
};